.goods__card {
    position: relative;
    min-width: 30%;
    max-width: calc(33% - 15px);
    overflow: hidden;
    background-color: #f6f5f3;
    flex: 1;
    transition: all 0.3s ease;
    transform: translate3d(0, 0, 0);

    &:hover {
        box-shadow: 0px 6px 10px rgba(36, 37, 38, 0.13);
        transform: translate3d(0, -10px, 0);

        > .btn {
            opacity: 1;
        }
    }

    > .goods__card__show {
        display: block;
        width: 100%;

        .goods__card__img {
            height: 40vh;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
        }
    }

    > .btn {
        cursor: pointer;
        opacity: 0;
        position: absolute;
        top: calc(50% - 30px);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: white;
        transition: all 0.5s ease;

        &.prev {
            left: 2px;
        }

        &.next {
            right: 2px;
        }

        &:active {
            opacity: 0.3;
        }

        .icon {
            font-size: 20px;
        }
    }

    > .goods__detail {
        padding: 0.6rem;

        > .goods__price {
            margin: 0;
        }

        > .goods__title {
            font-weight: 500;
            margin: 0;
        }
    }
}
